﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.Linq;

namespace DAL
{
    public class DaoFactories
    {
        public static DaoFactory GetFactory(string dataProvider)
        {
            switch (dataProvider)
            {
                case "LinqToSql.SqlExpress": return new LinqDaoFactory();
                default: return new LinqDaoFactory();
            }
        }
    }
}
